<template>
    <div class="son">
        <h2>我是Son组件（孙组件）</h2>

        <Dialog></Dialog>
    </div>
</template>

<script>
    import Dialog from './Dialog.vue';

    export default {
        name: 'Son',
        components: {
            Dialog: Dialog
        }
    }
</script>
<style lang="css">
    .son {
        background-color: yellow;
        padding: 10px;
    }
</style>